#ifndef __MPUIIC_H
#define __MPUIIC_H

#include "main.h"

#define MPU_I2C_RCC_APB1_CLOCK      ( RCC_APB1Periph_I2C2 )
#define MPU_I2C_USED                ( I2C2 )
#define MPU_I2C_GPIO                ( GPIOB )
#define MPU_I2C_SCL_PIN             ( GPIO_Pin_10 )
#define MPU_I2C_SDA_PIN             ( GPIO_Pin_11 )

//#define MPU_I2C_RCC_APB1_CLOCK      ( RCC_APB1Periph_I2C1 )
//#define MPU_I2C_USED                ( I2C1 )
//#define MPU_I2C_GPIO                ( GPIOB )
//#define MPU_I2C_SCL_PIN             ( GPIO_Pin_6 )
//#define MPU_I2C_SDA_PIN             ( GPIO_Pin_7 )

 	   		   
extern void MPU_IIC_Init(void);		 

#endif
















